package com.ruoyi.boc.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 授权信息对象 boc_auth_info
 * 
 * @author ruoyi
 * @date 2024-11-08
 */
public class BocAuthInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 权限ID */
    private Long authId;

    /** 菜单ID */
    @Excel(name = "菜单ID")
    private Long menuId;

    /** 申请人ID */
    @Excel(name = "申请人ID")
    private Long applyId;

    /** 复核人ID */
    @Excel(name = "复核人ID")
    private Long checkId;

    /** 复核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "复核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date checkTime;

    /** 授权人ID */
    @Excel(name = "授权人ID")
    private Long empowerId;

    /** 授权时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "授权时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date empowerTime;

    /** 复核备注 */
    @Excel(name = "复核备注")
    private String checkRemark;

    /** 授权备注 */
    @Excel(name = "授权备注")
    private String empowerRemark;

    /** 通过时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "通过时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 状态（0申请中 1复核中 2 授权中 3 通过 4 驳回） */
    @Excel(name = "状态", readConverterExp = "0=申请中,1=复核中,2=,授=权中,3=,通=过,4=,驳=回")
    private String status;

    private String menuName;

    private String applyName;

    private String checkName;

    private String empowerName;

    public void setAuthId(Long authId) 
    {
        this.authId = authId;
    }

    public Long getAuthId() 
    {
        return authId;
    }
    public void setMenuId(Long menuId) 
    {
        this.menuId = menuId;
    }

    public Long getMenuId() 
    {
        return menuId;
    }
    public void setApplyId(Long applyId) 
    {
        this.applyId = applyId;
    }

    public Long getApplyId() 
    {
        return applyId;
    }
    public void setCheckId(Long checkId) 
    {
        this.checkId = checkId;
    }

    public Long getCheckId() 
    {
        return checkId;
    }
    public void setCheckTime(Date checkTime) 
    {
        this.checkTime = checkTime;
    }

    public Date getCheckTime() 
    {
        return checkTime;
    }
    public void setEmpowerId(Long empowerId) 
    {
        this.empowerId = empowerId;
    }

    public Long getEmpowerId() 
    {
        return empowerId;
    }
    public void setEmpowerTime(Date empowerTime) 
    {
        this.empowerTime = empowerTime;
    }

    public Date getEmpowerTime() 
    {
        return empowerTime;
    }
    public void setCheckRemark(String checkRemark) 
    {
        this.checkRemark = checkRemark;
    }

    public String getCheckRemark() 
    {
        return checkRemark;
    }
    public void setEmpowerRemark(String empowerRemark) 
    {
        this.empowerRemark = empowerRemark;
    }

    public String getEmpowerRemark() 
    {
        return empowerRemark;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getApplyName() {
        return applyName;
    }

    public void setApplyName(String applyName) {
        this.applyName = applyName;
    }

    public String getCheckName() {
        return checkName;
    }

    public void setCheckName(String checkName) {
        this.checkName = checkName;
    }

    public String getEmpowerName() {
        return empowerName;
    }

    public void setEmpowerName(String empowerName) {
        this.empowerName = empowerName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("authId", getAuthId())
            .append("menuId", getMenuId())
            .append("applyId", getApplyId())
            .append("checkId", getCheckId())
            .append("checkTime", getCheckTime())
            .append("empowerId", getEmpowerId())
            .append("empowerTime", getEmpowerTime())
            .append("checkRemark", getCheckRemark())
            .append("empowerRemark", getEmpowerRemark())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
